package com.hexun.es.model;

import java.io.Serializable;

/**
 * @description:人口信息实体类
 * @author:yrw
 * @date 2018/11/19
 */

public class Person implements Serializable {

    //主键id
    private Integer id;
    //姓名
    private String name;
    //年龄
    private Integer age;
    //地址
    private String address;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }
}